<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:text-align="http://www.w3.org/1999/xhtml">
<head>
    <title>demo</title>
    <link href="css/main.css" rel="stylesheet"  type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />

</head>
<body>
<h2>= =</h2>

<table width="400" border="1" cellspacing="0" cellpadding="0">
    <thead>
    <tr>
        <th width="105">id</th>
        <th width="105">名称</th>
        <th width="105">店面</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="demoList:${demoList}">
        <td width="105"   th:text="${demoList.id}">id</td>
        <td width="105"  th:text="${demoList.name}">名称</td>
        <td width="105"  th:text="${demoList.store}">店面</td>
    </tr>
    </tbody>
</table>
<form action="/get" method="get">
    <p>名称: <input type="text" name="name" /></p>
    <p>店面: <input type="text" name="store" /></p>
    <input type="submit" value="确认" />
</form>

</body>
</html>